/**
 * example插件
 * @class
 */
class ExampleAddon {

    // 自动注入 app 对象
    constructor(app) {
      this.app = app;
    }
  
    /**
     * hello
     *
     * @function 
     * @since 1.0.0
     */
    hello () {
      return 'hello';
    }  
  }
  //toString 实现
  ExampleAddon.toString = () => '[class ExampleAddon]';
  //导出模块
  module.exports = ExampleAddon;